package com.alks.function.mapper.chengKong;

import com.alks.entity.data.entity.CpStitchProcessDetail;
import com.alks.function.data.dto.chengKong.cost.StitchStyleProcessDto;
import com.alks.function.data.request.chengKong.StitchProcessPageReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author: chen
 * @date: 2024/11/23
 * @description:
 */
@Mapper
public interface CpStitchProcessDetailMapper extends BaseMapper<CpStitchProcessDetail> {

    /**
     * 排除掉自身，且必须是未检核的资料
     * @param request
     * @return
     */
    List<StitchStyleProcessDto> searchDealUnCfmList(StitchProcessPageReq request);

    List<StitchStyleProcessDto> searchUndealList(StitchProcessPageReq request);

    List<StitchStyleProcessDto> selectByStyleAndColor(CpStitchProcessDetail detail);
}
